package io.geekidea.springbootplus.system.service;

import io.geekidea.springbootplus.framework.common.service.BaseService;
import io.geekidea.springbootplus.framework.core.pagination.Paging;
import io.geekidea.springbootplus.system.entity.SysProductAttribute;
import io.geekidea.springbootplus.system.vo.SysProductAttributeQueryVo;

import java.io.Serializable;

public interface SysProductAttributeService extends BaseService<SysProductAttribute> {

    //增加商品
    boolean saveSysProductAttribute(SysProductAttribute sysProductAttribute) throws Exception;


    //修改商品
    boolean updateSysProductAttribute(SysProductAttribute sysProductAttribute) throws Exception;

    //删除商品
    boolean deleteSysProductAttribute(Integer id) throws Exception;


    SysProductAttribute getSysProductAttributeById(Serializable id) throws Exception;


    Paging<SysProductAttributeQueryVo> getSysProductAttributePageList() throws Exception;

}
